const axios=require('axios')



//获取发现页的食品分类
const getList=()=>{
    return axios({
        url: "/mip/v2/index_entry",
        
        method: 'get',
        headers: { "Content-Type": "application/json" }
    })
}

//获取用户的订单
const getOrder=()=>{
    return axios({
        url: "/mip/bos/v2/users/1/orders?limit=10&offset=0",
        // v2/users/1/orders?limit=10&offset=0
        
        method: 'get',
        headers: { "Content-Type": "application/json"}
    })
}

export  {
     getList,
     getOrder,
}
   

   



 


    
 